
;;; RaGEZONE Guild Territory by MentaL 

[@main]
How are you? <$USERNAME>, here on RaGEZONE i am the Guild \
Territory Merchant and i am in charge of the guild territory \
sales, would you be inter ested in any of my services? \
\ \
<What is/@whatis> A guild territory?\
<I want o buy/@soldout> a guild territory.\
<I want to go/@go> to my guild territory.\
<exit/@exit>

[@whatis]
Guild territory is an exclusive space for a guild where\
the members stay for privacy. Members of the guild that\
has its own territory do not have secret meetings at hidden\
corners of villages, where privacy is not garanteed. Guild\
members may have private conversations and socialize with \
other members. In short, it is a residence for clans.\
\
<back/@main1>

[@list]
Here, you can see all the information on ownership, trades\
and sales of guild territories at once. If you intend to\
purchase a guild territory from the list, please contact the\
owner for more assistance.\
<exit/@exit>

;;purchase checker -- security feature

[@buyhouse]
#IF
checknamelist ../guildterritory/purchased.txt
#ACT
goto @alreadyhashouse
#ELSEACT
goto @buy0

;;if not bought, then goes to purchase

[@buy0]
You need <2,000,000> gold to rent a guild territory, and\
the guild location will remain yours until you decide to\
sell, which can be at any given time.\
\ \ \
Do you still want to purchase a territory? <Buy/@buy1> | <Cancel/@exit>

;;checks if leader or not

[@buy1]
#IF
isguildmaster
#ACT
goto @housepurchase
#ELSEACT
goto @isnotleader

[@housepurchase]
#IF
checkgold 2000000
#ACT
take gold 2000000
addguildlist ../guildterritory/guilds.txt
addnamelist ../guildterritory/purchased.txt
goto @housebought
#ELSEACT
goto @error

;;;;;;;;;;


[@housebought]
Congratulations, you have purchased your guild territory, please\
be patient while we prepair your guild territory, once it has been\
created, we will contact you asap!.\
<Go to main page/@main> | <exit/@exit>


[@alreadyhashouse]
Our records show you already have purchased a territory!\
\
<exit/@exit>

[@isnotleader]
Only guild leaders may purchase a guild territory!\
\
<exit/@exit>

[@error]
Sorry, but there seems to be a problem, come back when you\
have enough gold.\
\
<exit/@exit>

[@housefull]
<$USERNAME> at the current time, we are fresh out of guild\
territorys, but come back soon!\
\
<exit/@exit>


;; Guild checker to port to territory

[@go]
#IF
checkofguild dummy
#ACT
goto @dummy
break

#IF
checkofguild ChaosLegion
#ACT
goto @terr1
break

#IF
checkofguild Foxhound
#ACT
goto @terr2
break

#IF
checkofguild Cheese
#ACT
goto @terr3
break

#IF
checkofguild Ench@nted
#ACT
goto @terr4
break

#IF
checkofguild Revival
#ACT
goto @terr5
break

#IF
checkofguild HellOnEarth
#ACT
goto @terr6
break

#IF
checkofguild KingExecutioners
#ACT
goto @terr7
break

#IF
checkofguild ~TheHolyOrder~
#ACT
goto @terr8
break

#IF
checkofguild WARRIORS_OF_FIRE
#ACT
goto @terr9
break

#IF
checkofguild Italian_Masters
#ACT
goto @terr10
break

#IF
checkofguild GenjuuClan
#ACT
goto @terr11
break

#IF
checkofguild TheFunkeys
#ACT
goto @terr12
break

#IF
checkofguild Law_and_Order
#ACT
goto @terr13
break

#IF
checkofguild StreetFighters
#ACT
goto @terr14
break

#IF
checkofguild The_Mafia
#ACT
goto @terr15
break

#IF
checkofguild Stormy_Nights
#ACT
goto @terr16
break

#IF
checkofguild Bounty_Hunters
#ACT
goto @terr17
break

#IF
checkofguild G_Unit
#ACT
goto @terr18
break

#IF
checkofguild FightClub
#ACT
goto @terr19
break

#IF
checkofguild Avalanche
#ACT
goto @terr20
break

#IF
checkofguild DarkEmpire
#ACT
goto @terr21
break

#IF
checkofguild Transformers
#ACT
goto @terr22
break

#IF
checkofguild x
#ACT
goto @terr23
break

#IF
checkofguild x
#ACT
goto @terr24
break

#IF
checkofguild x
#ACT
goto @terr25
break

#IF
checkofguild x
#ACT
goto @terr26
break

#IF
checkofguild x
#ACT
goto @terr27
break

#IF
checkofguild x
#ACT
goto @terr28
break

#IF
checkofguild x
#ACT
goto @terr29
break

#IF
checkofguild x
#ACT
goto @terr30
break

#IF
checkofguild x
#ACT
goto @terr31
break

#IF
checkofguild x
#ACT
goto @terr32
break

#IF
checkofguild x
#ACT
goto @terr33
break

#IF
checkofguild x
#ACT
goto @terr34
break

#IF
checkofguild x
#ACT
goto @terr35
break

#IF
checkofguild x
#ACT
goto @terr36
break

#IF
checkofguild x
#ACT
goto @terr37
break

#IF
checkofguild x
#ACT
goto @terr38
break

#IF
checkofguild x
#ACT
goto @terr39
break

#IF
checkofguild x
#ACT
goto @terr40
break


#IF
checkguildlist ../guildterritory/guilds.txt
#ACT
goto @beingprepaired
#ELSEACT
goto @nomap

[@beingprepaired]
Hi, currently your guild map is being prepaired, please\
wait patient for your territory to be unlocked for you!\
\
<exit/@exit>

[@nomap]
Sorry but i am unable to do that. \
\
<exit/@exit>

[@dummy]
#ACT
break

;;;;;;; Guild territory map moves

[@terr1]
#ACT
mapmove GT1 65 32

[@terr2]
#ACT
mapmove GT2 65 32

[@terr3]
#ACT
mapmove GT3 65 32

[@terr4]
#ACT
mapmove GT4 65 32

[@terr5]
#ACT
mapmove GT5 65 32

[@terr6]
#ACT
mapmove GT6 65 32

[@terr7]
#ACT
mapmove GT7 65 32

[@terr8]
#ACT
mapmove GT8 65 32

[@terr9]
#ACT
mapmove GT9 65 32

[@terr10]
#ACT
mapmove GT10 65 32

[@terr11]
#ACT
mapmove GT11 65 33

[@terr12]
#ACT
mapmove GT12 65 33

[@terr13]
#ACT
mapmove GT13 65 33

[@terr14]
#ACT
mapmove GT14 65 33

[@terr15]
#ACT
mapmove GT15 65 33

[@terr16]
#ACT
mapmove GT16 65 33

[@terr17]
#ACT
mapmove GT17 65 33

[@terr18]
#ACT
mapmove GT18 65 33

[@terr19]
#ACT
mapmove GT19 65 33

[@terr20]
#ACT
mapmove GT20 65 33

[@terr21]
#ACT
mapmove GT21 65 33

[@terr22]
#ACT
mapmove GT22 65 33

[@terr23]
#ACT
mapmove GT23 65 33

[@terr24]
#ACT
mapmove GT24 65 33

[@terr25]
#ACT
mapmove GT25 65 33

[@terr26]
#ACT
mapmove GT26 65 33

[@terr27]
#ACT
mapmove GT27 65 33

[@terr28]
#ACT
mapmove GT28 65 33

[@terr29]
#ACT
mapmove GT29 65 33

[@terr30]
#ACT
mapmove GT30 65 33

[@terr31]
#ACT
mapmove GT31 65 33

[@terr32]
#ACT
mapmove GT32 65 33

[@terr33]
#ACT
mapmove GT33 65 33

[@terr34]
#ACT
mapmove GT34 65 33

[@terr35]
#ACT
mapmove GT35 65 33

[@terr36]
#ACT
mapmove GT36 65 33

[@terr37]
#ACT
mapmove GT37 65 33

[@terr38]
#ACT
mapmove GT38 65 33

[@terr39]
#ACT
mapmove GT39 65 33

[@terr40]
#ACT
mapmove GT40 65 33



[@soldout]
All sold out sorry\
<exit/@exit>

